package com.atguigu.edupublisher.service.impl;

import com.atguigu.edupublisher.beans.TestQuestionAmount;
import com.atguigu.edupublisher.mapper.TestStatsMapper;
import com.atguigu.edupublisher.service.TestStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TestStatsSeriveImpl implements TestStatsService {
    @Autowired
    private TestStatsMapper testStatsMapper;

    @Override
    public List<TestQuestionAmount> getQuestionAmount(Integer date) {
        return testStatsMapper.selectQuestionAmount(date);}}
